import request from '@/config/request.js';

//-----------------feeder区下料接口--------------------------------
export const scanMaterialAPI= (params) => request.post('/apiDelivery/scanMaterials', params)

// ----------------点对点叫车--------------------------------------
// * 绑定载具
export const threeMethodAPI = (params) => request.post('/api/deliveryExtra/bindCar', params)

// * 获取站点信息
export const getStationAPI = (params) => request.get('/api/deliveryExtra/getSites', params)

// 空车
export const emptyConfirmAPI= (params) => request.post('', params)

// 点对点叫车
export const pointConfirmAPI= (params) => request.post('', params)

// 空tray回流
export const trayConfirmAPI= (params) => request.post('', params)

// 获取空车类型接口
export const getEmptyTypeAPI= (params) => request.get('', params)

// 获取from列表接口
export const getFromListAPI= (params) => request.get('', params)

// 获取to列表接口
export const getToListAPI= (params) => request.get('', params)

//------------------手动叫料---------------------------------------
// 获取叫料模式列表
export const getModeListAPI= (params) => request.get('', params)

// 获取叫料线体列表
export const getLineListAPI= (params) => request.get('', params)

// 获取叫料工单列表
export const getOrderListAPI= (params) => request.get('', params)

// 获取半成品物编
export const getCodeListAPI= (params) => request.get('', params)

// 物料列表!!!!!
export const getMaterialListAPI= (params) => request.get('', params)

// 确认叫料
export const confirmCallAPI= (params) => request.post('', params)